Extrusion moulding combined with shaping by flattening, folding or bending