In this paper, we report a new method to suppress the AC Stark effect (light shift) in compact cesium beam atomic clocks. The clock used in experiment uses the optically detected magnetic-state-selection scheme independently proposed and developed by Peking University. This method compensates the AC Stark effect by introducing a detuned laser into the detection light. We demonstrate theoretically that the AC Stark effect can be strongly suppressed with properly chosen detuned light. In addition, we experiment this scheme and the α-coefficient (the sensitivity of the AC Stark effect to laser power fluctuation) is successfully reduced from
to
. We also test the long-term frequency stability with additional laser intensity noise. It is shown that the fractional Allan deviation at 20000 s is reduced from
to
, which reveals the suppression of the light shift with our method. These results are relevant for improving the long-term frequency stability of compact cesium beam atomic clocks.