A method of manufacturing a linear compressor includes measures to account
for possible variations in manufacture of the spring connecting between a
cylinder part and a piston part. In the method, the piston is located at
a predetermined axial position in the bore of the cylinder of the
compressor. A spring that is connected with the cylinder part is extended
so that a piston connection point of the spring is at a position based on
a predetermined displacement of the spring or a position in which the
spring exerts a predetermined reaction force. In this position, this
piston and the spring connection point are thus separated by a distance
that depends on the actual formed dimension of the individual spring. The
piston and the piston connection point are subsequently joined to have a
rigid axial separation that is fixed according to the separation attained
in these steps.