A magnitude-5.4 earthquake jolted eastern Taiwan's Hualien County on Wednesday, according to the China Earthquake Networks Center (CENC).