The houses collapsed when a 5.4 magnitude aftershock rocked Sichuan province's Qingchuan county on Tuesday afternoon, injuring 63 people, six critically, Xinhua news agency said.