Set origin to geometry center
Switch to Edit Mode, select all elements, make sure the current Pivot Point type is set to Bounding Box Center, or simply press , (comma), ShiftS > Cursor to Selected;
Switch back to Object Mode,ShiftCtrlAltC > Object to 3D Cursor.