Various methods and devices are provided for securing a walking beam compressor to a walking beam. In general, the walking beam compressor is a gas compressor unit that can be disposed around a piston rod extending from a walking beam of an oil well. The piston rod can be coupled to the walking beam by a securing mechanism that engages both the piston rod and the walking beam to prevent the piston rod from disengaging from the walking beam during rocking movement of the walking beam.