More than 12,400 people have been forced to flee their homes following the massive earthquake.