President Pervez Musharraf has said he plans to close those madrassas that do not register with the government by December 31 .