Venezuelan President Hugo Chavez has replaced his vice president and justice minister just days before he is inaugurated for a second term .