Generalised Ginzburg-Landau theory for high Tc superconductors