The handshakes were broadcast live on television across Latin America in response to a special request from the summit's host, Dominican Republic President Leonel Fernandez.
"We are all happy," Mr Chavez said afterwards.
"Peace! We must unite and integrate."