Ministers have agreed to defend the government against former premier Dr Mahathir Mohamad's scathing criticism.