The court granted it after a final hearing on Minar’s plea on Monday.
Ekram, the Phulgazi Upazila chairman, was killed in a daylight attack in Feni town on May 20 last year.
His brother filed a murder case the same day, naming Minar as the prime suspect and accusing around 35 unidentified others.
Police arrested Minar in Dhaka on May 27 and sent him to Feni jail on June 4 after interrogating him.
He walked out of the jail after the High Court gave him a six-month bail on July 17 on health grounds.
Later, the Appellate Division scrapped the bail and ordered him to surrender in the trial court.
Meanwhile, Feni police submitted the chargesheet in the case naming Minar as the main accused.
As Minar ignored the order to surrender, a Feni court had issued a warrant and Adabar police arrested him at the BIRDEM Hospital on Sept 21.
He landed in jail afterwards.