Welded hydraulic cylinders with pivot bolt