  We present a method for generating exact diagonal $G_2$-cosmological
solutions in dilaton gravity coupled to a radiation perfect fluid and with a
cosmological potential of a special type. The method is based on the symmetry
group of the system of $G_2$-field equations. Several new classes of explicit
exact inhomogeneous perfect fluid scalar-tensor cosmologies are presented.
