Automatic assembly of components of plastic chairs