Using phase shaping, the impact of the Kerr effect in a fiber-based chirped-pulse amplification (CPA) system is experimentally controlled. The technique is based on an analytical model describing the spectral phase owing to self-phase modulation in CPA systems. The method relies neither on complex phase measurements nor on time-consuming optimization routines. Nearly transform-limited pulses with energies as high as 1 mJ are produced, and a B integral being as high as 8 rad is accumulated in the main amplifier. The value of the B integral is determined by the method itself.